package com.jiazhong.text;

import java.util.Scanner;

public class Test06 {
    public static void main(String[] args) {
        int age,sum=0,ave;
        Scanner sc=new Scanner(System.in);
        for (int i=1;i<=5;i++){
            age=sc.nextInt();
            sum+=age;
            if (age<0||age>130){
                System.out.println("输出有误");
                return;
            }
        }
        ave=sum/5;
        System.out.println(ave);
    }
}
